BoltCheckout\Bolt_WC_Order_Attribution S

Total Complexity 34
Dependencies 4
Dependents 0
Total lines 320
Lines of code 180
Logical lines of code 70
Comment lines 120
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
save_wc_order_attribution()
S
49 6 35
restore_wc_order_attribution()
S
63 6 10
source_form_elements()
S
64 5 9
init_hooks()
S
48 2 40
add_wc_order_attribution_js_cart_page()
S
56 1 31
instance()
S
68 2 8
reset()
S
69 2 7
__construct()
S
75 2 5
remove_hooks()
S
66 2 8
is_order_attribution_feature_enabled()
S
70 2 6
restore_wc_order_attribution_native_session()
S
70 2 6
add_wc_order_attribution_js_ppc_page()
S
65 1 12
disable_source_form_elements()
S
80 1 3